package com.bwf.service;

import com.bwf.dao.StudentDaoImpl;
import com.bwf.pojo.Student;

import java.util.ArrayList;

/**
 * @Version v1.0
 * @Description: TODO
 * @Author ZHANZHONGXIN
 * @Date 2022/6/13 9:43
 * @Copyright 博为峰
 */
public class StudentServiceImpl implements StudentService {
    @Override
    public ArrayList<Student> list() {
        StudentDaoImpl studentDao = new StudentDaoImpl();
        return studentDao.query();
    }
}
